package com.winit.beetleAuth.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
@Entity
@Table(name = "user")
public class User implements Serializable{
    @Id
    private String id;
    private String account;//'用户名',
    private String realname;//'真实姓名',
    private String password;
    private String role;
    private String email;// '邮箱',
    @Column(name = "zt_user_id")
    private String ztUserId;//'用户对应禅道账户id',
    @Column(name = "zt_user_account")
    private String ztUserAccount;//'禅道用户名',
    private String empno;// '佩琦员工编号',
    private String mobile;//'手机号',

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getZtUserId() {
        return ztUserId;
    }

    public void setZtUserId(String ztUserId) {
        this.ztUserId = ztUserId;
    }

    public String getZtUserAccount() {
        return ztUserAccount;
    }

    public void setZtUserAccount(String ztUserAccount) {
        this.ztUserAccount = ztUserAccount;
    }

    public String getEmpno() {
        return empno;
    }

    public void setEmpno(String empno) {
        this.empno = empno;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
